<template>
  <div class="page-container">
    <!-- 导航栏 -->
    <studentNav></studentNav>
    <!-- 主体内容 -->
    <div class="content-wrapper">
      <router-view></router-view>
    </div>
    <!-- 页脚 -->
    <teacherfoot></teacherfoot>
  </div>
</template>

<script setup lang="ts">
// import studentIndexPage from '../StudentMainPage/studentIndexPage.vue';
import studentNav from '@/components/NavCom/studentNav.vue';
import teacherfoot from '@/components/footer/teacherFoot.vue';
</script>

<style scoped>
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 确保容器至少占满整个视口高度 */
}

.content-wrapper {
  flex: 1; /* 内容区域自动填充剩余空间 */
}
</style>
